﻿CREATE TABLE [dbo].[LeaseAgreement]
(
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[RowId] [uniqueidentifier] ROWGUIDCOL DEFAULT (NEWID()) NOT NULL,
	[IsDeleted] [bit] NOT NULL,
	[CreatedDate] [datetime] NOT NULL,
	[ModifiedDate] [datetime] NOT NULL,
	[ModifiedByUserId] [int] NULL,
	[Version] [timestamp] NOT NULL,
	[SerialNumber] [varchar](32) NOT NULL,
	[PropertyId] [int] NOT NULL,
	[CustomerId] [int] NOT NULL,
	[LeaseAgreementStateId] [int] NOT NULL,
	[SalesEmployeeId] [int] NOT NULL,
)